﻿using System;
using System.Collections.Generic;

namespace Rf.Support.Model.ViewModels
{
    /// <summary>
    /// 用户信息
    /// </summary>
    public class SysUserInfoDto : SysUserInfoDtoRoot<long>
    {
        /// <summary>
        /// 登录账号
        /// </summary>
        public string uLoginName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string uLoginPWD { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string uRealName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int uStatus { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>
        public long DepartmentId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string uRemark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public System.DateTime uCreateTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 更新时间
        /// </summary>
        public System.DateTime uUpdateTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 最后异常时间
        /// </summary>
        public DateTime uLastErrTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 错误次数
        /// </summary>
        public int uErrorCount { get; set; }
        /// <summary>
        ///昵称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int sex { get; set; } = 0;
        /// <summary>
        /// 年龄
        /// </summary>
        public int age { get; set; }
        /// <summary>
        /// 生日
        /// </summary>
        public DateTime birth { get; set; } = DateTime.Now;
        /// <summary>
        /// 地址
        /// </summary>
        public string addr { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool tdIsDelete { get; set; }
        /// <summary>
        /// 角色
        /// </summary>
        public List<string> RoleNames { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<long>? Dids { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; }
    }
}
